<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<div th:fragment="head">
    <div style="width: 100%;height: 3vw;display: flex;justify-content: space-between">
        <a style="font-size: 50px"><img src="/img/logo.gif"></a>
       <div style="height: 4vw;line-height: 4vw;margin-left: 1vw">
           <span th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.username}"></span> 个人中心
           &nbsp;|&nbsp;
           <a th:href="@{/api/blog/hi1}">首页</a>
           &nbsp;|&nbsp;
       </div>

</div>
</div>
</body>
</html>